<?php $flashmessage = $this->session->flashdata('message')?><?php echo !empty($flashmessage) ? '<p class="alert alert-success"><a class="close" data-dismiss="alert">x</a><strong>' . $flashmessage . '</strong></p>' : ''; ?><ul class="hovergallery">	<div class="pagination">		<ul>			<li>				<?php				if (!empty($pagination)) {					echo '<p>Page : ' . $pagination . "</p>";				} else {					echo 'Page : <a style="cursor:auto; color:black;"><strong>1</strong></a>';				};				?>			</li>		</ul>	</div>	<td>&nbsp;</td>	<td>&nbsp;</td>	<td>&nbsp;</td>	<div id="container">		<?php		foreach ($images as $row) {			$image = base_url() . "images/galeri/thumbs/" . $row -> thumbnail;			if ($user_level == 'administrator') {				$link = site_url('gallery/detail_foto') . '/' . $row -> id_images;			} else {				$link = site_url('gallery/detail_foto_user') . '/' . $row -> id_images;			}			echo "<a href='$link'><img src='$image'alt='description' /></a>";		}		?>	</div>	</div></ul>